home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / DEMONSTR / MATHVIEW.ZIP / X01.M < prev    next >
Text File  |  1993-03-23  |  176b  |  9 lines

  1. function y=x01(n)
  2. %y=x01(n)
  3. %return a n-point vector linearly spaced 0 to 1
  4.  
  5. %       S.Halevy 7/31/92
  6. %       Copyright (c) 1992 by the MathWizards
  7.  
  8. y=(0:(n-1))/(n-1);
  9.